package pens.interfaces
{
	import pens.penObjects.PenDate;

	public interface IPenPlayer
	{
		function get penDates():Vector.<PenDate>
		
		function get penName():String
		
		/**
		 * 画板的宽 
		 * @param value Number
		 * 
		 */		
		function set width(value:Number):void
		function get width():Number
		/**
		 * 画板的高 
		 * @param value Number
		 * 
		 */		
		function set height(value:Number):void
		function get height():Number
		/**
		 *重签 
		 * 
		 */		
		function resign():void
	
		function draw(w:Number,h:Number):void
			
			
		/**
		 * 设置开始画点 
		 * @param x Number
		 * @param y Number
		 * 
		 */		
		function moveTo(x:Number,y:Number,size:Number=10,color:uint=0):void
		/**
		 * 设置画向某点 
		 * @param x
		 * @param y
		 * 
		 */			
		function lineTo(x:Number,y:Number,size:Number=10,color:uint=0):void
		/**
		 * 结束写字 
		 * 
		 */			
		function end():void
		/**
		 *内存释放 
		 * 
		 */		
		function dispose():void
	
	}
}